#include <stdio.h>

struct student
{
    char name[32];
    int age;
    char sex;
    char phone[12];

};

int main(int argc, const char *argv[])
{
    struct student stu1;
    struct student *p_stu1;
    p_stu1 = (struct student *)malloc (sizeof(struct student));

/*    结构体成员的访问
    方式一：得到名字
    stu1.age
    stu1.phone
    stu1.name
    stu1.sex
    方式二：得到地址
    p_stu1->name
    p_stu1->age
    p_stu1->phone
    p_stu1->sex
*/
    return 0;
}
